<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var xml = `<?xml version="1.0" encoding="UTF-8"?>
<jna>
    <jar>https://github.com/java-native-access/jna</jar>
</jna>
<jdom>http://www.jdom.org/</jdom>
<jstree>https://github.com/vakata/jstree</jstree>
<Android>
    <SpiderMan>https://gitee.com/simplepeng/SpiderMan</SpiderMan>
</Android>
`
// var parser = new DOMParser();
// // 解析XML字符串
// var xmlDoc = parser.parseFromString(xml, "application/xml");

// // 访问XML数据
// var jna = xmlDoc.getElementsByTagName("to")[0].childNodes[0].nodeValue;
// var from = xmlDoc.getElementsByTagName("from")[0].childNodes[0].nodeValue;
// var heading = xmlDoc.getElementsByTagName("heading")[0].childNodes[0].nodeValue;
// var body = xmlDoc.getElementsByTagName("body")[0].childNodes[0].nodeValue;

// console.log("To: " + to);
// console.log("From: " + from);
// console.log("Heading: " + heading);
// console.log("Body: " + body);
    </script>
    <ol>
        <li><a href="https://github.com/java-native-access/jna">jna</a></li>
        <li><a href="http://www.jdom.org">jdom</a></li>
        <li><a href="https://github.com/vakata/jstree">jstree</a></li>
        <li><a href="https://gitee.com/simplepeng/SpiderMan">SpiderMan</a></li>
    </ol>
</body>
</html>